package com.thb.pay.core.bean;

import lombok.AllArgsConstructor;
import lombok.Builder;
import lombok.Data;
import lombok.NoArgsConstructor;

import java.io.Serializable;
import java.util.Date;


/**
 * 系统日志
 */
@Builder
@AllArgsConstructor
@NoArgsConstructor
@Data
public class SysLogEntity implements Serializable {
    private static final long serialVersionUID = 1L;

    private Long id;

    private String sessionId;

    //用户名
    private String username;

    private String uri;

    private String type;
    //用户操作
    private String operation;
    //请求方法
    private String method;
    //请求参数
    private String params;

    //IP地址
    private String ip;

    //创建时间
    private Date createTime;

    private Date returnTime;

    private String returnData;

    private String httpStatusCode;

    private Integer timeConsuming;

}
